﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace QuanLyThuNgan
{
    public class FeentMstCTL
    {
        FeentMstDAO  data = new FeentMstDAO();
        public DataTable m_STT_SoBN_IDThuNgan_noitru(int idnguoinhap, string ngay, string madonvi, string maphkham)//madv don vi thu tien,  Madonvi: ma don vi ra chi dinh cam lam sang 
        {
            return data.m_STT_SoBN_IDThuNgan_noitru(idnguoinhap, ngay, madonvi, maphkham);
        }
        public object m_SoBN_KO_CLS_noitru(int loaiphieu, string maphkham)
        {
            return data.m_SoBN_KO_CLS_noitru(loaiphieu, maphkham);
        }
        public string m_Insert_(string sobn, string ngay, string sohs, decimal sotien, string GhiChuUni, int idbacsi, string madvpk, string ChanDoanUni, int IDLoaiPhieu, string ghichu, string chandoan, int IDNguoiNhap, string sonhapvien)
        {
            return data.m_Insert_(sobn, ngay, sohs, sotien,GhiChuUni, idbacsi, madvpk, ChanDoanUni, IDLoaiPhieu,  ghichu, chandoan, IDNguoiNhap,sonhapvien);
        }
        public string m_Update_(string sobn, string ngay, string sohs, decimal sotien, string GhiChuUni, int idbacsi, string madvpk, string ChanDoanUni, int IDLoaiPhieu, string ghichu, string chandoan, int IDNguoiNhap, string sonhapvien)
        {
            return data.m_Update_(sobn, ngay, sohs, sotien, GhiChuUni, idbacsi, madvpk, ChanDoanUni, IDLoaiPhieu, ghichu, chandoan, IDNguoiNhap, sonhapvien);
        }
        public string m_Delete_(string sobn)
        {
            return data.m_Delete_(sobn);
        }
        public DataSet m_LoadDSPhieuNhapTrucTiep_noitru(string mangsbn)
        {
            return data.m_LoadDSPhieuNhapTrucTiep_noitru(mangsbn);
        }
        //update dua vao chuoi sobn
        public string m_Update_mst(string chuoi)
        {
            return data.m_Update_mst(chuoi);
        }
        // delete thuoc group cua master cap 1 
        public string m_Delete_group(string loai, string sobn)
        {
            return data.m_Delete_group(loai,sobn);
        }
        public string m_Update_TraThuoc(string sobn, decimal sotien)
        {
            return data.m_Update_TraThuoc(sobn, sotien);
        }

    }
}
